unit uRel_Consulta;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Provider, SqlExpr, DB, DBClient, DBLocal, DBLocalS, QRCtrls,
  QuickRpt, ExtCtrls, FMTBcd;

type
  TRel_Consulta = class(TForm)
    QuickRep1: TQuickRep;
    TitleBand1: TQRBand;
    QRDBText18: TQRDBText;
    QRDBText19: TQRDBText;
    QRDBText20: TQRDBText;
    ColumnHeaderBand1: TQRBand;
    QRLabel1: TQRLabel;
    PageFooterBand1: TQRBand;
    cds_Empresa: TSQLClientDataSet;
    cds_EmpresaNOME_EMPRESA: TStringField;
    cds_EmpresaENDER: TStringField;
    cds_EmpresaCORREIO: TStringField;
    cds_EmpresaEMAIL: TStringField;
    cds_EmpresaTELEFONE: TStringField;
    cds_EmpresaFAX: TStringField;
    SQLClientDataSet1: TSQLClientDataSet;
    SQLClientDataSet1COD_CONSULTA: TIntegerField;
    SQLClientDataSet1COD_PACIENTE: TIntegerField;
    SQLClientDataSet1HISTORICO: TBlobField;
    SQLClientDataSet1EXAMES: TBlobField;
    SQLClientDataSet1PRESSAO: TStringField;
    SQLClientDataSet1TEMPERATURA: TStringField;
    SQLClientDataSet1FREQ_CARDIACA: TStringField;
    SQLClientDataSet1ANT_USADO: TBlobField;
    SQLClientDataSet1NEST_CONSULTA: TBlobField;
    SQLClientDataSet1DATA_CONSULTA: TDateField;
    SQLClientDataSet1DATA_RETORNO: TDateField;
    SQLClientDataSet1VALOR_CONSULTA: TFloatField;
    SQLClientDataSet1STATUS: TStringField;
    SQLClientDataSet1NOME: TStringField;
    QRLabel12: TQRLabel;
    SQLClientDataSet1COD_PACIENTE_1: TIntegerField;
    SQLClientDataSet1SEXO: TStringField;
    SQLClientDataSet1COR: TStringField;
    SQLClientDataSet1EST_CIVIL: TStringField;
    SQLClientDataSet1DATA_NASC: TDateField;
    SQLClientDataSet1CATEGORIA: TStringField;
    SQLClientDataSet1PROFISSAO: TStringField;
    SQLClientDataSet1RUA: TStringField;
    SQLClientDataSet1NR: TStringField;
    SQLClientDataSet1COMPLEMENTO: TStringField;
    SQLClientDataSet1BAIRRO: TStringField;
    SQLClientDataSet1CIDADE: TStringField;
    SQLClientDataSet1UF: TStringField;
    SQLClientDataSet1CEP: TStringField;
    SQLClientDataSet1FONE: TStringField;
    SQLClientDataSet1FONE1: TStringField;
    SQLClientDataSet1FONE2: TStringField;
    SQLClientDataSet1CIC: TStringField;
    SQLClientDataSet1RG: TStringField;
    DetailBand1: TQRBand;
    QRDBText2: TQRDBText;
    QRDBText3: TQRDBText;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel8: TQRLabel;
    QRLabel13: TQRLabel;
    QRLabel19: TQRLabel;
    QRLabel20: TQRLabel;
    QRDBText7: TQRDBText;
    QRLabel22: TQRLabel;
    QRDBText9: TQRDBText;
    QRDBText10: TQRDBText;
    QRLabel23: TQRLabel;
    QRDBText11: TQRDBText;
    QRLabel25: TQRLabel;
    QRLabel26: TQRLabel;
    QRDBText12: TQRDBText;
    QRDBText13: TQRDBText;
    QRLabel27: TQRLabel;
    QRDBText14: TQRDBText;
    QRLabel28: TQRLabel;
    QRDBText15: TQRDBText;
    QRLabel29: TQRLabel;
    QRDBText16: TQRDBText;
    QRLabel30: TQRLabel;
    QRDBText17: TQRDBText;
    QRLabel31: TQRLabel;
    QRDBText21: TQRDBText;
    QRLabel32: TQRLabel;
    QRLabel38: TQRLabel;
    QRDBText22: TQRDBText;
    QRLabel39: TQRLabel;
    QRDBText23: TQRDBText;
    QRDBText24: TQRDBText;
    QRLabel41: TQRLabel;
    QRLabel42: TQRLabel;
    QRDBText25: TQRDBText;
    QRLabel43: TQRLabel;
    QRDBText26: TQRDBText;
    QRDBText27: TQRDBText;
    QRLabel44: TQRLabel;
    QRShape5: TQRShape;
    QRLabel45: TQRLabel;
    QRLabel11: TQRLabel;
    QRLabel46: TQRLabel;
    QRLabel47: TQRLabel;
    QRLabel48: TQRLabel;
    QRLabel49: TQRLabel;
    QRLabel33: TQRLabel;
    QRLabel34: TQRLabel;
    QRLabel35: TQRLabel;
    QRLabel9: TQRLabel;
    QRShape1: TQRShape;
    QRLabel50: TQRLabel;
    QRDBRichText1: TQRDBRichText;
    QRLabel10: TQRLabel;
    QRDBRichText2: TQRDBRichText;
    QRLabel14: TQRLabel;
    QRLabel15: TQRLabel;
    QRLabel16: TQRLabel;
    QRLabel17: TQRLabel;
    QRLabel36: TQRLabel;
    QRLabel51: TQRLabel;
    QRDBRichText3: TQRDBRichText;
    SQLClientDataSet1HIST_ANT: TBlobField;
    SQLClientDataSet1EX_ANT: TBlobField;
    SQLClientDataSet1MED_ANT: TBlobField;
    QRDBText8: TQRDBText;
    QRLabel21: TQRLabel;
    QRLabel59: TQRLabel;
    QRLabel61: TQRLabel;
    QRDBText4: TQRDBText;
    QRDBText5: TQRDBText;
    QRDBText6: TQRDBText;
    QRDBText1: TQRDBText;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel18: TQRLabel;
    QRLabel37: TQRLabel;
    sds_consulta: TSQLDataSet;
    sds_consultaCOD_CONSULTA: TIntegerField;
    sds_consultaCOD_PACIENTE: TIntegerField;
    sds_consultaHISTORICO: TBlobField;
    sds_consultaEXAMES: TBlobField;
    sds_consultaPRESSAO: TStringField;
    sds_consultaTEMPERATURA: TStringField;
    sds_consultaFREQ_CARDIACA: TStringField;
    sds_consultaANT_USADO: TBlobField;
    sds_consultaNEST_CONSULTA: TBlobField;
    sds_consultaDATA_CONSULTA: TDateField;
    sds_consultaDATA_RETORNO: TDateField;
    sds_consultaVALOR_CONSULTA: TFloatField;
    sds_consultaNOME: TStringField;
    sds_consultaSTATUS: TStringField;
    sds_consultaHIST_ANT: TBlobField;
    sds_consultaEX_ANT: TBlobField;
    sds_consultaMED_ANT: TBlobField;
    sds_consultaDATA_RETORNO1: TDateField;
    sds_consultaDATA_RETORNO2: TDateField;
    dsp_consulta: TDataSetProvider;
    cds_consulta: TClientDataSet;
    cds_consultaCOD_CONSULTA: TIntegerField;
    cds_consultaCOD_PACIENTE: TIntegerField;
    cds_consultaHISTORICO: TBlobField;
    cds_consultaEXAMES: TBlobField;
    cds_consultaPRESSAO: TStringField;
    cds_consultaTEMPERATURA: TStringField;
    cds_consultaFREQ_CARDIACA: TStringField;
    cds_consultaANT_USADO: TBlobField;
    cds_consultaNEST_CONSULTA: TBlobField;
    cds_consultaDATA_CONSULTA: TDateField;
    cds_consultaDATA_RETORNO: TDateField;
    cds_consultaVALOR_CONSULTA: TFloatField;
    cds_consultaNOME: TStringField;
    cds_consultaSTATUS: TStringField;
    cds_consultaHIST_ANT: TBlobField;
    cds_consultaEX_ANT: TBlobField;
    cds_consultaMED_ANT: TBlobField;
    cds_consultaDATA_RETORNO1: TDateField;
    cds_consultaDATA_RETORNO2: TDateField;
    SQLClientDataSet1TIPO: TStringField;
    QRDBText28: TQRDBText;
    sds_consultaTIPO: TStringField;
    cds_consultaTIPO: TStringField;
    QRSysData1: TQRSysData;
    QRLabel24: TQRLabel;
    QRDBText29: TQRDBText;
    QRLabel40: TQRLabel;
    QRLabel53: TQRLabel;
    QRLabel56: TQRLabel;
    QRShape2: TQRShape;
    QRLabel57: TQRLabel;
    QRSysData2: TQRSysData;
    QRLabel52: TQRLabel;
    QRLabel54: TQRLabel;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Rel_Consulta: TRel_Consulta;

implementation

{$R *.dfm}

end.
